package main
import "fmt"
func main(){
	var arr=[...]int{14,20,49,30,44,59,29}
	sum:=0
	length:=len(arr)
	for i:=0;i<length;i++{
		sum+=arr[i]
	}
	avg:=sum/length
	fmt.Println("sum=",sum,"avg=",avg)
}